home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 3
/
Precision Software Applications Silver Collection Volume Three (PSM) (1993).iso
/
drivers
/
qdel030.exe
/
QDEL.DOC
next >
Wrap
Text File
|
1992-10-20
|
6KB
|
160 lines
QDEL version 0.30 Instruction Manual
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(C) Konrad Budych 1991-92
What is QDEL ?
~~~~~~~~~~~~~~
QDEL is the program which deletes all files and sub-directories
starting from the specified directory (or directories). It may skip specified
sub-directories and/or leave files in specified sub-directories intact. It
may show you the number of directories deleted and amount of disk space freed.
Starting from version 0.30 QDEL is almost as fast as 'DEL *.*' and
much faster than ever before! This can be noticed when QDELing diskettes ---
in some tests QDEL v0.30 was 30 times faster then QDEL v0.22! This is because
QDEL now uses obsolete, but very fast Delete-via-FCB DOS function.
Keep this program away from babies and children!
And have fun using this program!
How to use it ?
~~~~~~~~~~~~~~~
To install QDEL, copy QDEL.EXE to a directory listed in your PATH.
Use QDEL as follows:
QDEL [switches] dir [dir...]
'dir' is a directory name like 'A:\', '.', 'D:..', 'C:\OLD', etc.
'switches' can be placed anywhere in command line, but they are
effective from the place they occur. They cannot be joined together. They
can be followed by '+' or '-', otherwise their state is toggled each time they
are used. See below for detailed description.
QDEL never asks any questions by default. This can be changed.
QDEL cannot remove current or root directory. This cannot be changed.
Switches description
~~~~~~~~~~~~~~~~~~~~
* '?' - help screen
This displays help screen. 'QDEL A:\ /?' works as expected --- first
clears A: then displays help screen. But 'QDEL /? A:' works the same way ---
help screen is always displayed after everything else is done.
* '-' - disable a '-' as switch prefix
Use this if you want to delete a directory with the name beginning
with a '-' (eg. 'QDEL -- -DIR-') or if you always use '/' to precede
switches.
* 'p' - prompt before processing each directory
QDEL will ask two question before processing any directory
"Proceed to DIRECTORY (Yes/No/Fast/ESCape)?" and
"Delete files in DIRECTORY (Yes/No/ESCape)?"
If you answer <F> for the first question, QDEL will automatically
proceed to all DIRECTORY's sub-directories. <ESC> quits. Answers <Y> and <N>
do expected things.
* 'q' and 'Q' - quiet work
If 'q' is on, QDEL will display only prompts, statistics, help screen,
and errors. If 'Q' is on, QDEL will display only prompts. Prompts are
displayed only if 'p' is on.
* 's' - statistics and more...
This is the only switch which is on by default. It makes QDEL display
a number of directories processed, amount of disk space freed, and scores.
All directories are counted, even those which where processed with 's' off.
You get 1 point for each 4 kB of disk space freed, 20 points for each
directory removed. Bonus: 5 point for each read-only file, 10 points extra
for each directory, if you deleted more than 40 of them, and 1 point extra for
each 2 kB of disk space freed, if more than 4 MB was freed. This is very
useful to estimate the results of QDEL's work.
Unfortunately high scores are not stored.
Help screen and statistics are not displyed together.
Examples
~~~~~~~~
QDEL -p+ C:\ you will be asked what to delete
QDEL -Q A:\ clear diskette quietly
QDEL -Q A:\ B:\ clear two diskettes quietly
QDEL . delete current directory and deeper
Configuring QDEL
~~~~~~~~~~~~~~~~
If you wish always start QDEL with certain switches, put them in QDEL
environment variable using SET command. These switches will be read before
any command line parameters. For example, you may want to add this to your
AUTOEXEC.BAT.
SET QDEL=-p -s
Switches must not be joined together, as usually.
Where to buy
~~~~~~~~~~~~
Nowhere. QDEL is free. You may give it away to friends and foes.
But you are not permitted to sell or modify it. If you distribute QDEL,
please distribute original, unmodified archive file.
If you think this program is great, please send something to the
author (diskettes, money, postcards, your programs, etc.). You can contact the
author via e-mail (Internet address: kbudych@ii.uj.edu.pl) or via 'snail-mail'
(address: Konrad Budych; os.Boh.Wrzesnia 24/67; 31-621 Krakow; Poland).
Disclaimer
~~~~~~~~~~
QDEL is supplied as is. The author disclaims all warranties,
expressed or implied, including, without limitation, the warranties of
merchantability and of fitness for any purpose. The author assumes no
liability for any damages, direct or consequential, which may result from the
use of, or inability to use QDEL.
Revision history
~~~~~~~~~~~~~~~~
0.30: Fast '*.*' deleting.
New statistics and scores; bonuses added.
'N', 'Y', 'S' switches removed; 's' now on by default.
New command line scanning procedure.
Documentation and messages modified.
Version number increased by 0.08 because of many changes.
0.22: '-' switch added.
New command line scanning procedure.
Some messages changed.
0.21: 's' and 'S' switch added.
Scores added.
Documentation rewritten.
0.20: First version of Second Edition of QDEL.
Rewritten from Turbo Pascal to Turbo C++.
Oldest switches ('?', 'q', 'Q', 'p', 'Y', and 'N') added.
Multiple directories allowed.
256-characters-long paths supported (for Novell NetWare volumes).
Cosmetic changes.
Version number incresed by 0.12 because of many changes.
0.08: Released within QKit 1.00.
Documented for the first time.
0.0x: Minor changes, no severe bugs found.
0.01: First release of QDEL: no switches, one directory allowed.